package com.itheima.service;

import com.itheima.pojo.Emp;
import com.itheima.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * CTassName: EmpServiceJob
 * Package: com.itheima.service
 * Description:
 *
 * @Author xw
 * @Create 2023/11/4 22:00
 * @Version 1.0
 */
public interface EmpServiceJob {

    PageBean page(String name, Short gender, LocalDate begin, LocalDate end, Integer page, Integer pageSize);

    void add(Emp emp);

    void deleteEmp(String[] idArray);

    Emp getById(Integer id);

    void update(Emp emp);
}
